package com.data.modules.smzh.service;


import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.data.common.api.vo.Result;
import com.data.modules.smzh.entity.Building;
import com.data.modules.smzh.entity.SmDeviceLogs;
import com.data.modules.smzh.vo.BuildReqVo;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @Description: 建筑资产表
 * @Author: data-boot
 * @Date:   2022-11-26
 * @Version: V1.0
 */
public interface IBuildingService extends IService<Building> {

    List<Building> queryBuildUnitList(LambdaQueryWrapper<Building> wrapper);

    List<Building> queryBuildByProject( List<String> projectlist,String model);

    List<String>  queryDeviceInfoByProjectId(String project);

    IPage<Building> PageList(Page<Building> page, Building queryWrapper);

    Result<?> queryBuildInfo(BuildReqVo buildReqVo, HttpServletRequest req);

    Building queryInfoByAppRegistId(String userId);

    Result<?> searchVisitorInfo(SmDeviceLogs smDeviceLogs, HttpServletRequest req);

    List<Building> queryData(String name);
}
